GetTrackEnabled
TheGetTrackEnabled
function allows your application to determine whether a track is currently enabled. The Movie Toolbox services only enabled tracks.
pascal Boolean GetTrackEnabled (Track theTrack);
theTrack
- Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as
NewMovieTrack
andGetMovieTrack
(described on page 2-136 and page 2-188, respectively).DESCRIPTION
TheGetTrackEnabled
function returns a Boolean value. The function sets this value totrue
if the track is enabled andfalse
if the track is disabled.ERROR CODES
invalidTrack -2009 This track is corrupted or invalid SEE ALSO
You can enable a track by calling theSetTrackEnabled
function, which is described in the previous section.